/*
 * Copyright 2005-2010 Schlichtherle IT Services
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package de.schlichtherle.license;

import de.schlichtherle.util.ObfuscatedString;

/**
 * @author Christian Schlichtherle
 * @version $Id: IllegalPasswordException.java,v 1.1 2012/05/13 13:41:19 palm Exp $
 */
public class IllegalPasswordException extends IllegalArgumentException {
    private static final long serialVersionUID = 1L;

    public String getLocalizedMessage() {
        return Resources.getString(new ObfuscatedString(new long[] {
            0xAB863F4C6B6EB259L, 0x40C8776423443909L, 0xF1BA739EBF91FAF8L,
            0xE8AFA8114E385C8CL
        }).toString()); /* => "exc.policy.IllegalPwd" */
    }
}
